
class Student{
    private String name;
    private Score score;
    public String getName() {
        return name;
    }

    public Score getScore() {
        return score;
    }

    public void setScore(Score score) {
        this.score = score;
    }

    public Student(String name, int c, int m, int y) {
        this.name = name;
        score=new Score(c,m,y);
    }

    public void setName(String name) {
        this.name = name;
    }

    public static  class Score{
       private int c;
       private  int m;
       private  int y;
        public int getM() {
            return m;
        }

        public  Score(int c, int m, int y) {
            this.c = c;
            this.m = m;
            this.y = y;
            System.out.println(c+m+y);
        }

        public void setM(int m) {
            this.m = m;
        }

        public int getC() {
            return c;
        }

        public void setC(int c) {
            this.c = c;
        }

        public int getY() {
            return y;
        }

        public void setY(int y) {
            this.y = y;
        }
    }
}
public class Main {
    public static void main(String[] args) {
        Student.Score s=new Student.Score(2,3,6);
    }
}